home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / varia / interp18.lha / interp-1.8 / interp.cc < prev    next >
C/C++ Source or Header  |  1990-01-20  |  1KB  |  37 lines

  1. // interp.cc --- the main routine for Interp.
  2. // Copyright (C) 1989 Carey Richard Murphey.
  3. // (rich@rice.edu) 5310 Rutherglenn, Houston, TX 77096
  4.  
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License as published by
  7. // the Free Software Foundation; either version 1, or (at your option)
  8. // any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. extern int yyparse (void);
  20. extern void init_parser (void);
  21. #include <stream.h>
  22.  
  23. const char *copyright_notice = "\
  24. // Interp version 1, Copyright (C) 1989 Carey Richard Murphey. \n\
  25. // Interp comes with ABSOLUTELY NO WARRANTY. This is free software, and \n\
  26. // you are welcome to redistribute it under certain conditions. See the \n\
  27. // file COPYING for copying conditions and the warranty.\n";
  28.  
  29. int
  30. main (int argc, char **argv, char **envp)
  31. {
  32.   cerr << copyright_notice;
  33.   init_parser ();
  34.   yyparse ();
  35.   return 0;
  36. }
  37.